import request from '@/utils/request'
export default {
    //发布标的
    lendPublish(id) {
        return request({
            url: `/admin/core/lend/publish/${id}`,
            method: 'PUT'
        })
    },
    //查询标的列表
    list() {
        return request({
            url: '/admin/core/lend',
            method: 'GET'
        })
    },
    //查询标的详情
    getById(id) {
        return request({
            url: `/admin/core/lend/${id}`,
            method: 'GET'
        })
    },
}